package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ServiceSettlementDetailDao;
import io.renren.entity.ServiceSettlementDetailEntity;
import io.renren.service.ServiceSettlementDetailService;



@Service("serviceSettlementDetailService")
public class ServiceSettlementDetailServiceImpl implements ServiceSettlementDetailService {
	@Autowired
	private ServiceSettlementDetailDao serviceSettlementDetailDao;
	
	@Override
	public ServiceSettlementDetailEntity queryObject(Integer id){
		return serviceSettlementDetailDao.queryObject(id);
	}
	
	@Override
	public List<ServiceSettlementDetailEntity> queryList(Map<String, Object> map){
		return serviceSettlementDetailDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return serviceSettlementDetailDao.queryTotal(map);
	}
	
	@Override
	public void save(ServiceSettlementDetailEntity serviceSettlementDetail){
		serviceSettlementDetailDao.save(serviceSettlementDetail);
	}

	@Override
	public void update(ServiceSettlementDetailEntity serviceSettlementDetail){
		serviceSettlementDetailDao.update(serviceSettlementDetail);
	}
	
	@Override
	public void delete(Integer id){
		serviceSettlementDetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		serviceSettlementDetailDao.deleteBatch(ids);
	}

	@Override
	public List<ServiceSettlementDetailEntity> getDetailList(Map<String, Object> map) {
		return serviceSettlementDetailDao.getDetailList(map);
	}

}
